<script setup lang="ts">
import { ref } from 'vue';

const radioEnumData = ref([
    { value: 'first', name: 'Fist Item' },
    { value: 'second', name: 'Second Item' },
    { value: 'third', name: 'Third Item' }
]);
const value = ref('first');
</script>
<template>
    <f-radio-group :enum-data="radioEnumData" v-model="value"> </f-radio-group>
    <div class="my-2">
        <span>当前选中值: {{ value }}</span>
    </div>
</template>
